<template>
  <div class="app">
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
import { defineComponent, reactive, computed, toRefs } from 'vue'
import { useStore } from 'vuex'

export default defineComponent({
  name: 'App',
  components: {},
  setup() {
    const store = useStore()
    const status = reactive({
      ooname: computed(() => store.state.name)
    })
    return {
      ...toRefs(status)
    }
  }
})
</script>

<style lang="scss">
.app {
  height: 100%;
}
</style>
